package com.ctsi.ssdc.service.impl.front;

import com.ctsi.ssdc.mapper.FixedInvestmentMapper1;
import com.ctsi.ssdc.service.front.FixedInvestmentService1;
import com.ctsi.ssdc.entity.MinFixedInvestment;
import com.ctsi.ssdc.entity.SubDistrictTownFixedInvestment;
import com.ctsi.ssdc.entity.SubDistrictTownIndustrialInvestment;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FixedInvestmentService1Impl implements FixedInvestmentService1 {
    @Resource
    FixedInvestmentMapper1 fixedInvestmentMapper1;
    @Override
    public List<MinFixedInvestment> getFixedInvestmentByIndicators(int year, String indicators) {
        return fixedInvestmentMapper1.findFixedInvestmentByIndicators(year, indicators);
    }
    @Override
    public List<SubDistrictTownFixedInvestment> getAllSubDistrictTownFixedInvestment(int year, int month) {
        return fixedInvestmentMapper1.findAllSubDistrictTownFixedInvestment(year, month);
    }
    @Override
    public List<SubDistrictTownIndustrialInvestment> getAllSubDistrictTownIndustrialInvestment(int year, int month){
        return fixedInvestmentMapper1.findAllSubDistrictTownIndustrialInvestment(year, month);
    }
    @Override
    public int getIndustrialInvestmentgs(int year, int month) {
        return fixedInvestmentMapper1.findIndustrialInvestmentgs(year, month);
    }

    @Override
    public int getIndustrialInvestmentfdc(int year, int month) {
        return fixedInvestmentMapper1.findIndustrialInvestmentfdc(year, month);
    }

    @Override
    public Integer getBasicIndustryInvestmentCount(int year, int month) {
        return fixedInvestmentMapper1.getBasicIndustryInvestmentCount(year, month);
    }
}
